﻿#if UNITY_EDITOR

namespace AI.Graph.Editor {


    public struct BorderRadius {

        private static BorderRadius m_zeroBorderRadius = new BorderRadius (0);

        public static BorderRadius zero {
            get { return m_zeroBorderRadius; }
        }

        public float topLeft;
        public float topRight;
        public float bottomLeft;
        public float bottomRight;


        public BorderRadius (float radius) : this (radius, radius, radius, radius) { }


        public BorderRadius (float topLeft, float topRight, float bottomLeft, float bottomRight) {
            this.topLeft = topLeft;
            this.topRight = topRight;
            this.bottomLeft = bottomLeft;
            this.bottomRight = bottomRight;
        }

    }


}
#endif